package com.ruix.app.ui.adapter;

import android.content.Context;

import com.ruix.app.R;
import com.ruix.app.adapter.superadapter.SuperAdapter;
import com.ruix.app.adapter.superadapter.internal.SuperViewHolder;
import com.ruix.app.model.UncomfirmedUser;

/**
 * Created by hadexs on 2017/4/24.
 */

public class UncomfirmUsersAdapter extends SuperAdapter<UncomfirmedUser> {


    public UncomfirmUsersAdapter(Context context) {
        super(context, R.layout.item_uncomfirm_user);
    }

    @Override
    public void onBind(SuperViewHolder holder, int viewType, int position, UncomfirmedUser item) {
        holder.setText(R.id.tv_uncomfirm_user_name,item.getName());
        holder.setSimpleDraweeURI(R.id.sdv_user_avatar,item.getAvatar());


    }
}
